package main

import (
	"fmt"
	"vs_code/project0003/main/factorydemo/model"
)

func main()  {
	// var s1 = model.Student{
	// 	Name : "tom",
	// 	Age : 14,
	// }

	// fmt.Println(s1)

	var s2 = model.GetStudent("jack",13)
	fmt.Println(*s2)
	age := model.GetField(s2)
	fmt.Printf("%v,%v",s2.Name,age)

	fmt.Println()
}